package validation;

import com.opensymphony.xwork2.ActionSupport;

public class ValidationAction extends ActionSupport{
	private int age;
	private String password;
	private String repassword;
	private Integer num;
	private String idcard;
	
	public String execute(){
		System.out.println("age: "+ age);
		return "success";
	} 
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getRepassword() {
		return repassword;
	}
	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
}
